package com.snowy.hidden.user.service;

import com.snowy.framework.common.base.service.BaseService;
import com.snowy.framework.common.base.vo.LoginUser;
import com.snowy.framework.common.resp.BaseResp;
import com.snowy.hidden.biz.domain.req.SysUserUpdatePwdParam;
import com.snowy.hidden.biz.domain.req.UserReq;
import com.snowy.hidden.user.domain.model.SysUser;

/**
 * 用户(SysUser)表服务接口
 *
 * @author makejava
 * @since 2023-11-29 23:33:41
 */
public interface SysUserService extends BaseService<SysUser> {


    /**
     * 修改用户密码
     *
     * @author xuyuxiang
     * @date 2022/4/22 15:53
     **/
    void updatePassword(SysUserUpdatePwdParam sysUserUpdatePwdParam, LoginUser sysUser);


    /**
     * 修改用户
     * @param userReq
     * @param userRedisInfo
     * @return
     */
    BaseResp updateUser(UserReq userReq, LoginUser userRedisInfo);
}
